<div class="view">

<div class="row">
    
    <div class="span3">
        <?php echo CHtml::link(CHtml::image($data->getFileUrl(), $data->name),'#modal'.$data->id, array('data-toggle'=>'modal')); ?>
        
        <?php $this->beginWidget('bootstrap.widgets.BootModal', array(
            'id'=>'modal'.$data->id,
            'htmlOptions'=>array('class'=>'hide'),            
        )); ?>
        
        <div class="modal-header">
            <a class="close" data-dismiss="modal">&times;</a>           
        </div>
        <div class="modal-body">
            <?php echo CHtml::image($data->getFileUrl('large')); ?>
        </div>        
        <?php $this->endWidget(); ?>
    </div>
    
    <div class="span8">
    
    	<h3><?php echo CHtml::link(CHtml::encode($data->name). " (szerkeszt)",array('update','id'=>$data->id)); ?></h3>
    	<?php echo CHtml::encode($data->name); ?>
    	<br />
    
    	<b><?php echo CHtml::encode($data->getAttributeLabel('text')); ?>:</b>
    	<?php echo CHtml::encode($data->text); ?>
    	<br />
    
    	<b><?php echo CHtml::encode($data->getAttributeLabel('active')); ?>:</b>
    	<?php echo CHtml::encode($data->active == '1' ? 'IGEN' : 'NEM'); ?>
    	<br />
    </div>

</div>